﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using System.Linq;

namespace PInitiatives.Models
{

    public partial class Dictionary
    {

        private PInitiativesEntities _db = new PInitiativesEntities();

        public static IQueryable<Dictionary> getRows(string dictionaryName)
        {
            return (new PInitiativesEntities()).Dictionaries.Where(d => d.DictionaryName.Equals(dictionaryName));
        }

    }
}
